const {
    defineConfig
} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    lintOnSave: false,

    devServer: {
        proxy: 'http://127.0.0.1',
    },
})

const path = require('path');
module.exports = {
    // 安装 style-resources-loader 与 vue-cli-plugin-style-resources-loader
    pluginOptions: {
        'style-resources-loader': {
            preProcessor: 'less',
            // 这三种 patterns 写法都是可以的
            patterns: [
                path.resolve(__dirname, 'src/assets/index.less')
            ]
        }
    }
};
